package com.magic.shop.util;

/**
 *
 * https://codesign.qq.com/app/s/472659558159215
 * @author zhangbo
 * @create 2024/10/12
 * pc版本：
 * https://blog.csdn.net/weixin_63775234/article/details/139799945
 *
 * 支付宝沙箱：https://open.alipay.com/develop/sandbox/account
 *
 *
 * 手机版本：
 * https://blog.csdn.net/weixin_47714924/article/details/108330759
 *  沙箱：https://open.alipay.com/develop/sandbox/app
 *
 *
 *
 *  * 多个商户支付
 *  * https://blog.csdn.net/weixin_74758471/article/details/140902722
 *
 *  个人支付微信--聚合支付
 *  https://open.pay.yungouos.com/#/api/index
 *
 */
public class AliPayUtils {

    public static String appId="9021000131657435";
    //app私钥
    public static String appPrivateKey="MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCrdV3EH/D5rIMIgdkh67t9HokD/gftJjjILjHOk0a3ty0WElwPRxkdFA//ZCv9YCjG5eEJ+kdnIyqfLt7T3MjtOnNCDFvoy2tR1bgLw48izvdRXgNJ+rY0C9vXsTNIj1j4pya2FR1EVCHQLPh+DgOxGy1ZB6mjY2PXm8vnSCDV3IO/dkEge1otzZuvF5CHgQWHFebye1umMg56dr8vBqKP8PEDobsmVmSixZ7SDTpGugwupMWRegUXFm7eXRX5IzexixORYmmxkJ1Oq11ZFcSmoex3c4eHGvWKmrnBZMaywgRiSCfvtNIxZ6Iqtia6/Hs6VQhR4mQR9djHc5EWqbldAgMBAAECggEAQQNFxKIf62wAW29w962879puNbdTJhcCHNV3SU8K14p7bA0WHyzkVuROlJZVH8QgchqkU/Y0sOTium05TLhA78LkBT1OdFz9mpAhM0S5t4cmvBGbyadpAx8kAwtL2M2R/ObUhOJIsKn+EEOdDZ8ewz782O9Q4YVETHLkxBPTb4OIDVO0+TdizWBZRhOnje0c8DfbLie/OKQN4oeHK50b9T6B/4KQkNoiY+TowyQrYFA4yPJudC5q9GD8rgPqjfuTSCnYXBYHKoOIZCaJVf3vw4LqYaRXaHYLgx1a9HSSYbbO0i9tqW26uotQGKS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PIs73UV4DSfq2NAvb17EzSI9Y+KcmthUdRFQh0Cz4fg4DsRstWQepo2Nj15vL50gg1dyDv3ZBIHtaLc2brxeQh4EFhxXm8ntbpjIOena/Lwaij/DxA6G7JlZkosWe0g06RroMLqTFkXoFFxZu3l0V+SM3sYsTkWJpsZCdTqtdWRXEpqHsd3OHhxr1ipq5wWTGssIEYkgn77TSMWeiKrYmuvx7OlUIUeJkEfXYx3ORFqm5XQIDAQAB";

    //支付宝公钥
    public static String alipayPublicKey="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuCS7GjJB1i8My7UiDzeASFlh68A2Q63mpcWDbYEUki1eBUNqIdx7ioogBmXEdUnMfeH2aGju85cfFquYeP/BxlOas7Tsv53UGQ0QleRERpNR4ckGnfLZqrhr/0hlbGHnyX2kkCh2pkCAfaAPbUxmSmNBMWKTdFVlO2zjzE/8DpVXoAxgoSSaM2HiUROILOKKmBifql2tOKITs4urgyfMlZ590+5nbqPQhSZaDbG5HHukCtaVV7f9meLEfxLv1+DT8DHO3SpGv7/46dFwEBgPzAAa/OWLAJfHPGci0uPypsRDCfyjmulvR5BTCOZE5/58/i3M6yBqKkki39u3Iokg/QIDAQAB";

    //回调地址
    public static String notifyUrl="https://9218-122-225-207-116.ngrok-free.app/alipay/notify";

    public static String notifyUrl_app="https://9218-122-225-207-116.ngrok-free.app/alipay/notifyApp";


    /**
     * 1.电脑网站支付产品alipay.trade.page.pay接口中，product_code为：FAST_INSTANT_TRADE_PAY
     * 2.手机网站支付产品alipay.trade.wap.pay接口中，product_code为：QUICK_WAP_WAY
     * 3.当面付条码支付产品alipay.trade.pay接口中，product_code为：FACE_TO_FACE_PAYMENT
     * 4.APP支付产品alipay.trade.app.pay接口中，product_code为：QUICK_MSECURITY_PAY
     */
    public static final String PRODUCT_CODE1 = "FAST_INSTANT_TRADE_PAY";//电脑网站支付
    public static final String PRODUCT_CODE2 = "QUICK_MSECURITY_PAY";//手机网站支付

}
